home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / util / gnu / gnu_oleo_1_2_2.lha / oleo-1.2.2 / INSTALL < prev    next >
Text File  |  1993-03-03  |  4KB  |  92 lines

  1. This is a generic INSTALL file for utilities distributions.
  2. If this package does not come with, e.g., installable documentation or
  3. data files, please ignore the references to them below.
  4.  
  5. After you are familiar with the instructions in this file, see the 
  6. file INSTALL.OLEO for Oleo specific instructions.
  7.  
  8. To compile this package:
  9.  
  10. 1.  Configure the package for your system.  In the directory that this
  11. file is in, type `./configure'.  If you're using `csh' on an old
  12. version of System V, you might need to type `sh configure' instead to
  13. prevent `csh' from trying to execute `configure' itself.
  14.  
  15. The `configure' shell script attempts to guess correct values for
  16. various system-dependent variables used during compilation, and
  17. creates the Makefile(s) (one in each subdirectory of the source
  18. directory).  In some packages it creates a C header file containing
  19. system-dependent definitions.  It also creates a file `config.status'
  20. that you can run in the future to recreate the current configuration.
  21. Running `configure' takes a minute or two.
  22.  
  23. To compile the package in a different directory from the one
  24. containing the source code, you must use GNU make.  `cd' to the
  25. directory where you want the object files and executables to go and
  26. run `configure' with the option `--srcdir=DIR', where DIR is the
  27. directory that contains the source code.  Using this option is
  28. actually unnecessary if the source code is in the parent directory of
  29. the one in which you are compiling; `configure' automatically checks
  30. for the source code in `..' if it does not find it in the current
  31. directory.
  32.  
  33. By default, `make install' will install the package's files in
  34. /usr/local/bin, /usr/local/lib, /usr/local/man, etc.  You can specify
  35. an installation prefix other than /usr/local by giving `configure' the
  36. option `--prefix=PATH'.  Alternately, you can do so by changing the
  37. `prefix' variable in the Makefile that `configure' creates (the
  38. Makefile in the top-level directory, if the package contains
  39. subdirectories).
  40.  
  41. You can specify separate installation prefixes for machine-specific
  42. files and machine-independent files.  If you give `configure' the
  43. option `--exec_prefix=PATH', the package will use PATH as the prefix
  44. for installing programs and libraries.  Normally, all files are
  45. installed using the same prefix.
  46.  
  47. `configure' ignores any other arguments that you give it.
  48.  
  49. If your system requires unusual options for compilation or linking
  50. that `configure' doesn't know about, you can give `configure' initial
  51. values for some variables by setting them in the environment.  In
  52. Bourne-compatible shells, you can do that on the command line like
  53. this:
  54.     CC='gcc -traditional' DEFS=-D_POSIX_SOURCE ./configure
  55.  
  56. The `make' variables that you might want to override with environment
  57. variables when running `configure' are:
  58.  
  59. (For these variables, any value given in the environment overrides the
  60. value that `configure' would choose:)
  61. CC        C compiler program.
  62.         Default is `cc', or `gcc' if `gcc' is in your PATH.
  63. INSTALL        Program to use to install files.
  64.         Default is `install' if you have it, `cp' otherwise.
  65. INCLUDEDIR    Directory for `configure' to search for include files.
  66.         Default is /usr/include.
  67.  
  68. (For these variables, any value given in the environment is added to
  69. the value that `configure' chooses:)
  70. DEFS        Configuration options, in the form '-Dfoo -Dbar ...'
  71. LIBS        Libraries to link with, in the form '-lfoo -lbar ...'
  72.  
  73. If you need to do unusual things to compile the package, we encourage
  74. you to teach `configure' how to do them and mail the diffs to the
  75. address given in the README so we can include them in the next
  76. release.
  77.  
  78. 2.  Type `make' to compile the package.
  79.  
  80. 3.  Type `make install' to install programs, data files, and
  81. documentation.
  82.  
  83. 4.  You can remove the program binaries and object files from the
  84. source directory by typing `make clean'.  To also remove the
  85. Makefile(s), the header file containing system-dependent definitions
  86. (if the package uses one), and `config.status' (all the files that
  87. `configure' created), type `make distclean'.
  88.  
  89. The file `configure.in' is used as a template to create `configure' by
  90. a program called `autoconf'.  You will only need it if you want to
  91. regenerate `configure' using a newer version of `autoconf'.
  92.